package vn.com.aptech.msh.utils;

import java.util.ResourceBundle;
import javax.enterprise.inject.Produces;
import javax.inject.Named;

/**
 *
 * @author trietto
 */
public class ResourceBundleHelper {
    private static ResourceBundle bundle = getResourceBundle();

    public static ResourceBundle getResourceBundle() {
        return ResourceBundle.getBundle("vn.com.aptech.msh.resources.messages");
    }

    public static String get(String key) {
        return bundle.getString(key);
    }
}
